import request from '@/utils/request'

export function queryScheduledTaskPage(data) {
  return request({
    url: '/task/queryTaskByPage',
    method: 'post',
    data
  })
}
export function stop(data) {
  return request({
    url: '/task/stop',
    method: 'post',
    data
  })
}

export function start(data) {
  return request({
    url: '/task/start',
    method: 'post',
    data
  })
}
export function save(data) {
  return request({
    url: '/task/save',
    method: 'post',
    data
  })
}
export function deleted(data) {
  return request({
    url: '/task/delete',
    method: 'post',
    data
  })
}
